<template>
<div>
  {{this.lyricData[5].substring(1,6)}}
  {{this.lyricData[5].substring(11,this.lyricData[5].length)}}
</div>
</template>

<script>
import songs from "@/musicApi/apis/songs";
export default {
  name: "lyric",
  data(){
    return{
      lyricData:[],
    }
  },
  mounted() {
    this.getLyric(1463165983)
  },
  methods:{
    getLyric(id) {
      songs.getLyric(id).then(res=>{
        this.lyricData=res.data.lrc.lyric.split("\n")
      })
    }
  }
}
</script>

<style scoped>

</style>